﻿using UnityEngine;
using System.Collections;

public class Yabs : MonoBehaviour {

	
	public delegate void Action();
	
	public Action CallBack;

    Vector3 Scale;

    void Awake() {
        Scale = transform.localScale;

    }
    void OnMouseDown() {
		CallBack();
    }

	void OnMouseEnter() {
		transform.localScale = Scale *1.1f;
	}

	void OnMouseExit() {
		transform.localScale = Scale;
	}
}
